﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.ProjectModel>" %>
<%@ Import Namespace="Helpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	EditProject
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-heading"><h1>Edit Project</h1></div>
    <table cellspacing="0" cellpadding="0" border="0" width="100%" id="content-table">
    <tbody><tr>
	    <th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowleft.jpg"/></th>
	    <th class="topleft"></th>
	    <td id="tbl-border-top">&nbsp;</td>
	    <th class="topright"></th>
	    <th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowright.jpg"/></th>
    </tr>
    <tr>
	    <td id="tbl-border-left"></td>
	    <td>
	    <!--  start content-table-inner -->
	    <div id="content-table-inner">

	    <table cellspacing="0" cellpadding="0" border="0" width="100%">
	    <tbody><tr valign="top">
	    <td>	
		    <!--  end step-holder -->
	        <% using (Html.BeginForm())
            { %>
            <!-- start id-form -->
            <% if (ViewData["message"] != null)
                {%>
                <div id="message-yellow">
				<table border="0" width="100%" cellpadding="0" cellspacing="0">
				<tr>
					<td class="yellow-left"><%: ViewData["message"] %></td>
					<td class="yellow-right"><a class="close-yellow"><img src="/Content/images/table/icon_close_yellow.gif" alt=""></a></td>
				</tr>
				</table>
				</div>
            <% } %>
            <table cellspacing="0" cellpadding="0" border="0" id="id-form">
            <tbody>
            <tr>
			    <th valign="top">ProjectName:</th>
			    <td><%: Html.MyTextBoxFor(m => m.ProjectName)%></td>
			    <td></td>
		    </tr>
		    <tr>
			    <th valign="top">Description:</th>
			    <td><%: Html.MyTextAreaFor(m => m.Description)%></td>
			    <td></td>
		    </tr>
            <tr>
			    <th valign="top">Creator:</th>
			    <td><%: Model.UserName%></td>
			    <td></td>
		    </tr>
            <tr>
			    <th valign="top">IsActive:</th>
			    <td><%: Html.CheckBoxFor(m => m.IsActive, new { @class = "ui-checkbox" })%></td>
			    <td></td>
		    </tr>
	    <tr>
		    <th>&nbsp;</th>
		    <td valign="top">
			    <input type="submit" class="form-submit" value=""/>
			    <%: Html.ActionLink("Back", "ViewDetails", new { ProjectId = ViewData["ProjectId"] }, new { @class = "button2" })%>
		    </td>
		    <td></td>
	    </tr>
            </tbody>
            </table>
            <!-- end id-form  -->
            <%} %>

	    </td>
	    <td>
<div class="margin-padding">
	<!--  start related-activities -->
	<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img height="43" width="271" alt="" src="/Content/images/shared/Helper.png" />
		</div>
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_plus.gif"></a></div>
				<div class="right">
					<h5>Manager Defect</h5>
					Manager all defects.You can delete, edit, view any Defects ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/DefectManagement_Help.html-Index">Click here to visit</a></li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_minus.gif"></a></div>
				<div class="right">
					<h5>Delete Defect</h5>
					Manager all defects.You can delete a defect ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/DefectManagement_Help.html-MyDefect">Click here to visit</a> </li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_edit.gif"></a></div>
				<div class="right">
					<h5>View Defect Details</h5>
					Manager all defects.You can view details of ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/DefectManagement_Help.html-DefectDetails">Click here to visit</a> </li>
					</ul>
				</div>
				<div class="clear"></div>
				
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->
</div>
    </td>
</tr>
<tr>
<td><img height="1" width="695" alt="blank" src="/Content/images/shared/blank.gif"></td>
<td></td>
</tr>
</tbody></table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</tbody></table>

<div class="clear">&nbsp;</div>

</asp:Content>
